package recycle.vo;

import recycle.pojo.Applepropertieschoose;

/**
* 描述：苹果属性选择表查询参数类
* @author 孙冉
* @date 2019/07/22
*/
public class ApplepropertieschooseParam extends  Applepropertieschoose{
	private boolean page;
    private Integer pageIndex;
    private Integer size;

    private boolean order;
    private String orderSql;

    public boolean isPage() {
        return page;
    }

    public void setPage(boolean page) {
        this.page = page;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public boolean isOrder() {
        return order;
    }

    public void setOrder(boolean order) {
        this.order = order;
    }

    public String getOrderSql() {
        return orderSql;
    }

    public void setOrderSql(String orderSql) {
        this.orderSql = orderSql;
    }

    public Integer getFrom(){
        return (pageIndex-1)*size;
    }
}
